summaryrefslogtreecommitdiff
path: root/src/irc/core/modes.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-13 22:05:57 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-13 22:05:57 +0000
commit1fa98c2369b2df9c13fa3acad482457fb9c50df8 (patch)
tree22dd31e15bc0301e554f2df6cefab45d11d50c67 /src/irc/core/modes.h
parent28f3e476dab7197a69c2afccfb87752f6e6b242a (diff)
downloadirssi-1fa98c2369b2df9c13fa3acad482457fb9c50df8.zip
updating user modes were handled as they were channel modes, like +o
etc. thought they needed arguments. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@735 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/modes.h')
-rw-r--r--src/irc/core/modes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/irc/core/modes.h b/src/irc/core/modes.h
index be318d94..2f007ec4 100644
--- a/src/irc/core/modes.h
+++ b/src/irc/core/modes.h
@@ -23,8 +23,10 @@
void modes_init(void);
void modes_deinit(void);
-/* add `mode' to `old' - return newly allocated mode. */
-char *modes_join(const char *old, const char *mode);
+/* add `mode' to `old' - return newly allocated mode.
+ `channel' specifies if we're parsing channel mode and we should try
+ to join mode arguments too. */
+char *modes_join(const char *old, const char *mode, int channel);
int channel_mode_is_set(IRC_CHANNEL_REC *channel, char mode);