diff options
| author | 2013-12-07 12:44:10 -0800 | |
|---|---|---|
| committer | 2013-12-09 22:15:48 +0100 | |
| commit | bc4177ad010d0db5248fd49db1498d67119d709a (patch) | |
| tree | d1e15eb9c5eb29d3148d81c05480dd342111f180 /src/modules/m_callerid.cpp | |
| parent | Merge pull request #693 from SaberUK/insp20+modulemanager-bugs (diff) | |
| download | inspircd++-bc4177ad010d0db5248fd49db1498d67119d709a.tar.gz inspircd++-bc4177ad010d0db5248fd49db1498d67119d709a.tar.bz2 inspircd++-bc4177ad010d0db5248fd49db1498d67119d709a.zip | |
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
Diffstat (limited to 'src/modules/m_callerid.cpp')
| -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; |
