From 217283caeaf5fc19e671a56547610ceb42e2ea7b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 20 Jan 2004 10:57:57 +0000 Subject: isupport patch by David Leadbeater git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-nicklist.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/irc/core/irc-nicklist.h') diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h index 0b392c77..f2813ea1 100644 --- a/src/irc/core/irc-nicklist.h +++ b/src/irc/core/irc-nicklist.h @@ -10,7 +10,14 @@ NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick, /* Remove all "extra" characters from `nick'. Like _nick_ -> nick */ char *irc_nick_strip(const char *nick); +int irc_nickcmp_rfc1459(const char *, const char *); +int irc_nickcmp_ascii(const char *, const char *); + void irc_nicklist_init(void); void irc_nicklist_deinit(void); +/* FIXME: to_rfc1459() is missing things */ +#define to_rfc1459(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x)) +#define to_ascii(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x)) + #endif -- cgit v1.2.3