summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-30 17:19:16 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-30 17:19:16 +0000
commit87a8f713443283600bf9f66e1f8a73c54284ab3a (patch)
treea5f7afb793649f8db7433f34bd619d09305da8c5 /src/core
parent05cfbaf9d5b08f77adadf6d955c04f76c348aae7 (diff)
downloadirssi-87a8f713443283600bf9f66e1f8a73c54284ab3a.zip
Bugfixes for non-irc server handling.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@550 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/server.c b/src/core/server.c
index 724f0d1c..33e79856 100644
--- a/src/core/server.c
+++ b/src/core/server.c
@@ -229,6 +229,8 @@ void server_disconnect(SERVER_REC *server)
if (server->handle != NULL)
net_sendbuffer_destroy(server->handle, TRUE);
+ if (server->readtag > 0)
+ g_source_remove(server->readtag);
MODULE_DATA_DEINIT(server);
rawlog_destroy(server->rawlog);