From 0a7af1a331126b96cc723bdc5bcba48721759835 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 28 Mar 2005 01:13:48 +0000 Subject: Typos are bad ok? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@926 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_restrictmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3