From 49d8629c3f7dd38b21abe8c5d13f356efc21db4d Mon Sep 17 00:00:00 2001 From: aquanight Date: Sat, 9 Aug 2008 18:59:36 +0000 Subject: Unbreak compile for real. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10132 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_callerid.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/modules/m_callerid.cpp') diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 52828fdca..95e663a5b 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -174,7 +174,8 @@ public: return CMD_SUCCESS; /* Even if callerid mode is not set, we let them manage their ACCEPT list so that if they go +g they can * have a list already setup. */ - bool atleastonechange = false; + + std::string tok = parameters[0]; if (tok == "*") { @@ -187,6 +188,8 @@ public: User* whotoremove = ServerInstance->FindNick(tok.substr(1)); if (whotoremove) return (RemoveAccept(user, whotoremove, false) ? CMD_SUCCESS : CMD_FAILURE); + else + return CMD_FAILURE; } else { -- cgit v1.2.3