From bc4177ad010d0db5248fd49db1498d67119d709a Mon Sep 17 00:00:00 2001 From: Daniel Vassdal Date: Sat, 7 Dec 2013 12:44:10 -0800 Subject: Fix ACCEPT propagation bug when it got a nick prefixed with + Fixes #696 Does not apply to 2.2 due to Attila's rewrite of the module --- src/modules/m_callerid.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 37787b525..74428f543 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -171,6 +171,9 @@ public: dash = true; tok.erase(0, 1); // Remove the dash. } + else if (tok[0] == '+') + tok.erase(0, 1); + User* u = ServerInstance->FindNick(tok); if ((!u) || (u->registered != REG_ALL) || (u->quitting) || (IS_SERVER(u))) continue; -- cgit v1.2.3