projects
/
rxpd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8409b6e
)
deinit function closes the rpxd connection
author
Christian Thaeter
<ct@pipapo.org>
Sun, 4 Nov 2007 01:07:50 +0000
(
02:07
+0100)
committer
Christian Thaeter
<ct@pipapo.org>
Sun, 4 Nov 2007 01:07:50 +0000
(
02:07
+0100)
contrib/irc/xchat/rx.c
patch
|
blob
|
history
diff --git
a/contrib/irc/xchat/rx.c
b/contrib/irc/xchat/rx.c
index
9496217
..
fe46207
100644
(file)
--- a/
contrib/irc/xchat/rx.c
+++ b/
contrib/irc/xchat/rx.c
@@
-332,3
+332,14
@@
xchat_plugin_init(xchat_plugin *plugin_handle,
return 1;
}
+
+int
+xchat_plugin_deinit (void)
+{
+ if (rx_private.fd != -1)
+ close (rx_private.fd);
+
+ xchat_printf (ph, "rxpd plugin unloaded\n");
+
+ return 1;
+}