src/protocols/irc/parse.c

changeset 10208
b6cafee18b0d
parent 10154
b415e4433117
child 10258
21cfe876ca17
--- a/src/protocols/irc/parse.c	Fri Nov 19 06:24:50 2004 +0000
+++ b/src/protocols/irc/parse.c	Fri Nov 19 16:42:07 2004 +0000
@@ -366,6 +366,11 @@
         return result;
 }
 
+gboolean irc_ischannel(const char *string)
+{
+	return (string[0] == '#' || string[0] == '&');
+}
+
 char *irc_parse_ctcp(struct irc_conn *irc, const char *from, const char *to, const char *msg, int notice)
 {
 	GaimConnection *gc;

mercurial