1
0
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:
adam-
2009-08-04 16:37:02 +00:00
parent ce664a160b
commit 9801065683
+2 -2
View File
@@ -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;