summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 24f406dd6..773717495 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -899,7 +899,7 @@ class UnrealIRCdProto : public IRCDProto
int IsChannelValid(const char *chan)
{
- if (strchr(chan, ':')) return 0;
+ if (strchr(chan, ':') || *chan != '#') return 0;
return 1;
}