diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-19 17:05:50 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-19 17:05:50 +0200 |
commit | f4dda34d06b5f93b28e0ec7d34557199717e147d (patch) | |
tree | e77ec1cad10ad49114ac9cbaca3eeeac41917317 /src | |
parent | ddba35710aa04e33bb061225764a7a9a1165beae (diff) |
m_callerid Allow messaging yourself while +g regardless of the ACCEPT list
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_callerid.cpp | 2 |
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)) |