summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-15 12:53:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-15 12:53:49 +0000
commit21ae94afcbc9e4aecc97b280b0c97349565493ce (patch)
treed3aea6f6e394d558a890df9f110338fb8de547e2
parent3b48134eef499aab8912f9ddfd41c18f6cd61d61 (diff)
Made cmode and chanmode more safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1099 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/message.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 9fc057a5f..c2ac34d88 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -363,6 +363,7 @@ char* cmode(userrec *user, chanrec *chan)
}
}
}
+ return "";
}
/* returns the status value for a given user on a channel, e.g. STATUS_OP for
@@ -399,6 +400,7 @@ int cstatus(userrec *user, chanrec *chan)
}
}
}
+ return STATUS_NORMAL;
}
/* returns 1 if user u has channel c in their record, 0 if not */