projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git]
/
src
/
IRCParser.c
diff --git
a/src/IRCParser.c
b/src/IRCParser.c
index 8631165e270fcedb7a74f3996804c6caf01ff571..b525a7d95dd3d63652ab176304de80168d8943a2 100644
(file)
--- a/
src/IRCParser.c
+++ b/
src/IRCParser.c
@@
-1,5
+1,5
@@
-/* IRCParser.c - NeonServ v5.
2
- * Copyright (C) 2011 Philipp Kreil (pk910)
+/* IRCParser.c - NeonServ v5.
3
+ * Copyright (C) 2011
-2012
Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-332,6
+332,7
@@
static IRC_CMD(raw_quit) {
struct ClientSocket *bot;
for(bot = getBots(0, NULL); bot; bot = getBots(0, bot)) {
if(bot->user == user) {
struct ClientSocket *bot;
for(bot = getBots(0, NULL); bot; bot = getBots(0, bot)) {
if(bot->user == user) {
+ bot->flags &= ~SOCKET_FLAG_READY;
bot->user = NULL;
break;
}
bot->user = NULL;
break;
}
@@
-380,6
+381,7
@@
void bot_disconnect(struct ClientSocket *client) {
}
}
client->user = NULL;
}
}
client->user = NULL;
+ client->flags &= ~SOCKET_FLAG_READY;
}
}
}
}