1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 00:43:13 +02:00

Fixed core clients to rejoin their assigned channels if killed

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2382 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
adam-
2009-07-16 09:12:23 +00:00
parent 81d05eb8a7
commit 49f1b9bc49
+5 -6
View File
@@ -44,15 +44,14 @@ int m_kill(const char *nick, const char *msg)
BotInfo *bi;
/* Recover if someone kills us. */
/* use nickIsServices() to reduce the number of lines of code - TSL */
if (nickIsServices(nick, 0)) {
introduce_user(nick);
} else if (s_BotServ && (bi = findbot(nick))) {
if (s_BotServ && (bi = findbot(nick)))
{
introduce_user(nick);
bi->RejoinAll();
} else {
do_kill(nick, msg);
}
else
do_kill(nick, msg);
return MOD_CONT;
}