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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user