summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-24 16:37:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-24 16:37:37 +0000
commit454c039711783c6226818b71d18a2ab936c9082d (patch)
tree33b1b41403b8ef3ed3658b62017c8a176cabb1cb /src/modules
parentf9acb3830bc846eec07e35d734d746afcd1ac244 (diff)
Fixed minor typo in the bugfix, wrong number of brackets in a confusing if()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@894 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 52d0c0baa..878724168 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -51,7 +51,7 @@ class ModuleServices : public Module
// FCS - BugFix for #27 :)
if ((!strchr(user->modes,'r')) && (mode_on == false)) {
return 1;
- } else if (strchr(user->modes,'r')) && (mode_on == true)) {
+ } else if ((strchr(user->modes,'r')) && (mode_on == true)) {
return 1;
} else {
return 0;