From 21ae94afcbc9e4aecc97b280b0c97349565493ce Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 15 Apr 2005 12:53:49 +0000 Subject: Made cmode and chanmode more safe git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1099 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/message.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- cgit v1.2.3