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

Fix bug #1022, the problem was inspircd12 specific and the pseudo-clients will now respawn.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2142 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-03-03 15:30:36 +00:00
parent 7a1217e97c
commit 9a97a0b3cf
+3 -1
View File
@@ -988,7 +988,9 @@ int anope_event_quit(const char *source, int ac, const char **av)
int anope_event_kill(const char *source, int ac, const char **av)
{
m_kill(av[0], av[1]);
User *u = find_byuid(av[0]);
BotInfo *bi = findbot(av[0]);
m_kill(u ? u->nick : (bi ? bi->nick : av[0]), av[1]);
return MOD_CONT;
}