diff options
| author | 2005-03-28 01:13:48 +0000 | |
|---|---|---|
| committer | 2005-03-28 01:13:48 +0000 | |
| commit | 0a7af1a331126b96cc723bdc5bcba48721759835 (patch) | |
| tree | 6d84b9d414b230ca9fb46cdefb3e807390d85039 /src/modules/m_restrictmsg.cpp | |
| parent | Added a module at request of [ed] which stops anyone messaging all but opers (diff) | |
Typos are bad ok?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@926 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
| -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 |
