diff options
Diffstat (limited to 'IrcStates/Server.cs')
-rw-r--r-- | IrcStates/Server.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/IrcStates/Server.cs b/IrcStates/Server.cs index 9371a2b..7199668 100644 --- a/IrcStates/Server.cs +++ b/IrcStates/Server.cs @@ -7,6 +7,7 @@ namespace IrcStates { public class Server { + public const string WhoType = "525"; // randomly generated private readonly StatefulDecoder _decoder; public Dictionary<string, List<Func<string, Line, Emit>>> LineHandlers; @@ -81,5 +82,10 @@ namespace IrcStates return ret; } + + public string CaseFold(string str) + { + return Casemap.CaseFold(ISupport.CaseMapping, str); + } } } |