diff options
author | Daniel Vassdal <shutter@canternet.org> | 2013-12-07 12:44:10 -0800 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-12-09 22:15:48 +0100 |
commit | bc4177ad010d0db5248fd49db1498d67119d709a (patch) | |
tree | d1e15eb9c5eb29d3148d81c05480dd342111f180 | |
parent | 52b71902ee74a23e17bf77baced9a25c6479ece7 (diff) |
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
-rw-r--r-- | src/modules/m_callerid.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |