aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channelmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/channelmanager.h b/include/channelmanager.h
index 172028be6..78c9fa46b 100644
--- a/include/channelmanager.h
+++ b/include/channelmanager.h
@@ -48,4 +48,10 @@ class CoreExport ChannelManager
/** Retrieves a map containing all channels keyed by the channel name. */
ChannelMap& GetChans() { return channels; }
const ChannelMap& GetChans() const { return channels; }
+
+ /** Determines whether the specified character is a valid channel prefix.
+ * @param prefix The channel name prefix to validate.
+ * @return True if the character is a channel prefix; otherwise, false.
+ */
+ bool IsPrefix(unsigned char prefix) const;
};