mirror of
https://github.com/anope/anope.git
synced 2026-06-28 18:36:39 +02:00
Fixed two typos in bots.cpp that could cause crashes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2405 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -26,7 +26,7 @@ BotInfo::BotInfo(const char *nnick)
|
||||
this->flags |= BI_CHANSERV;
|
||||
else if (s_BotServ && !stricmp(s_BotServ, nnick))
|
||||
this->flags |= BI_BOTSERV;
|
||||
else if (s_HostServ && !stricmp(s_BotServ, nnick))
|
||||
else if (s_HostServ && !stricmp(s_HostServ, nnick))
|
||||
this->flags |= BI_HOSTSERV;
|
||||
else if (s_OperServ && !stricmp(s_OperServ, nnick))
|
||||
this->flags |= BI_OPERSERV;
|
||||
@@ -55,7 +55,7 @@ BotInfo::BotInfo(const char *nnick, const char *nuser, const char *nhost, const
|
||||
this->flags |= BI_CHANSERV;
|
||||
else if (s_BotServ && !stricmp(s_BotServ, nnick))
|
||||
this->flags |= BI_BOTSERV;
|
||||
else if (s_HostServ && !stricmp(s_BotServ, nnick))
|
||||
else if (s_HostServ && !stricmp(s_HostServ, nnick))
|
||||
this->flags |= BI_HOSTSERV;
|
||||
else if (s_OperServ && !stricmp(s_OperServ, nnick))
|
||||
this->flags |= BI_OPERSERV;
|
||||
|
||||
Reference in New Issue
Block a user