From 98010656836260c979917eba59f50080b4cbfb95 Mon Sep 17 00:00:00 2001 From: adam- Date: Tue, 4 Aug 2009 16:37:02 +0000 Subject: [PATCH] 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 --- src/bots.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bots.cpp b/src/bots.cpp index a5184a847..a6ef20e37 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -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;