From f4dda34d06b5f93b28e0ec7d34557199717e147d Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 19 Apr 2013 17:05:50 +0200 Subject: m_callerid Allow messaging yourself while +g regardless of the ACCEPT list --- src/modules/m_callerid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3