diff options
-rw-r--r-- | src/modules/m_restrictmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp index d340cad77..1fd07422d 100644 --- a/src/modules/m_restrictmsg.cpp +++ b/src/modules/m_restrictmsg.cpp @@ -39,7 +39,7 @@ class ModuleRestrictMsg : public Module if (target_type == TYPE_USER) { userrec* u = (userrec*)dest; - if (strchr(u->modes,'o')) || (strchr(user->modes,'o'))) + if ((strchr(u->modes,'o')) || (strchr(user->modes,'o'))) { // message allowed if: // (1) the sender is opered |