diff options
-rw-r--r-- | modules/protocol/unreal.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index bb23ade2a..51b248278 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -465,6 +465,19 @@ class ChannelModeFlood : public ChannelModeParam } }; +class ChannelModeUnrealSSL : public ChannelMode +{ + public: + ChannelModeUnrealSSL(ChannelModeName n, char c) : ChannelMode(n, c) + { + } + + bool CanSet(User *u) const + { + return false; + } +}; + class Unreal32IRCdMessage : public IRCdMessage { public: @@ -757,6 +770,9 @@ class Unreal32IRCdMessage : public IRCdMessage case 'G': ModeManager::AddChannelMode(new ChannelMode(CMODE_FILTER, 'G')); continue; + case 'Z': + ModeManager::AddChannelMode(new ChannelModeUnrealSSL(CMODE_END, 'Z')); + continue; default: ModeManager::AddChannelMode(new ChannelMode(CMODE_END, modebuf[t])); } |