summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-28 01:13:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-28 01:13:48 +0000
commit0a7af1a331126b96cc723bdc5bcba48721759835 (patch)
tree6d84b9d414b230ca9fb46cdefb3e807390d85039 /src
parent3156ab273687038ecae4004a524de4bb7bed3c03 (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')
-rw-r--r--src/modules/m_restrictmsg.cpp2
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