diff options
Diffstat (limited to 'src/modules/m_callerid.cpp')
-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 1f9766883..533e70eac 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -387,7 +387,7 @@ public: ModResult PreText(User* user, User* dest, std::string& text) { - if (!dest->IsModeSet('g') || (user == dest)) + if (!dest->IsModeSet(myumode) || (user == dest)) return MOD_RES_PASSTHRU; if (operoverride && user->IsOper()) |