diff options
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 2ad41c675..3b75b29f3 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -228,3 +228,10 @@ void IRCDProto::SendNumeric(const char *source, int numeric, const char *dest, c SendNumericInternal(source, numeric, dest, buf); } +int IRCDProto::IsChannelValid(const char *chan) +{ + if (*chan != '#') + return 0; + + return 1; +} |