summaryrefslogtreecommitdiff
path: root/src/core/server-rec.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-01 22:52:23 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-01 22:52:23 +0000
commit95b94ed83c1372fae4eb14bf8109847bdc65a8d2 (patch)
treecf561053d2810f67121b624e8c2b9bdce902b69b /src/core/server-rec.h
parent9833844f38ccbb3a2679c99b4d9a6f9c2e1e5f8d (diff)
downloadirssi-95b94ed83c1372fae4eb14bf8109847bdc65a8d2.zip
server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/server-rec.h')
-rw-r--r--src/core/server-rec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/server-rec.h b/src/core/server-rec.h
index 7cdc66e5..4a75ef80 100644
--- a/src/core/server-rec.h
+++ b/src/core/server-rec.h
@@ -55,7 +55,7 @@ void (*channels_join)(SERVER_REC *server, const char *data, int automatic);
/* returns true if `flag' indicates a nick flag (op/voice/halfop) */
int (*isnickflag)(char flag);
/* returns true if `data' indicates a channel */
-int (*ischannel)(const char *data);
+int (*ischannel)(SERVER_REC *server, const char *data);
/* returns all nick flag characters in order op, voice, halfop. If some
of them aren't supported '\0' can be used. */
const char *(*get_nick_flags)(void);