summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-19 17:05:50 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-19 17:05:50 +0200
commitf4dda34d06b5f93b28e0ec7d34557199717e147d (patch)
treee77ec1cad10ad49114ac9cbaca3eeeac41917317 /src/modules
parentddba35710aa04e33bb061225764a7a9a1165beae (diff)
m_callerid Allow messaging yourself while +g regardless of the ACCEPT list
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_callerid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index b0d6b9c64..4b167f2db 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -362,7 +362,7 @@ public:
ModResult PreText(User* user, User* dest, std::string& text)
{
- if (!dest->IsModeSet('g'))
+ if (!dest->IsModeSet('g') || (user == dest))
return MOD_RES_PASSTHRU;
if (operoverride && IS_OPER(user))