summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_callerid.cpp3
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;