summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-06-21 10:21:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-06-21 10:22:04 +0200
commit4a42cda3a5f5b02d8ba9afae129499c26250d334 (patch)
treeafa7b2b9988dcfe89321d5653fa4c0fccadd72ce /src/plugins/irc/irc-channel.h
parent944661045252f38b08e1da32904317370b36cf74 (diff)
downloadweechat-4a42cda3a5f5b02d8ba9afae129499c26250d334.zip
irc: change default chantypes from "#&+!" to "#&"
The default chantypes was conflicting with irc_server_prefix_chars_default ("@+").
Diffstat (limited to 'src/plugins/irc/irc-channel.h')
-rw-r--r--src/plugins/irc/irc-channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-channel.h b/src/plugins/irc/irc-channel.h
index 5f616b5f1..64f05f1f0 100644
--- a/src/plugins/irc/irc-channel.h
+++ b/src/plugins/irc/irc-channel.h
@@ -22,8 +22,6 @@
#include <time.h>
-#define IRC_CHANNEL_DEFAULT_CHANTYPES "#&+!"
-
/* channel types */
#define IRC_CHANNEL_TYPE_UNKNOWN -1
#define IRC_CHANNEL_TYPE_CHANNEL 0
@@ -81,6 +79,8 @@ struct t_irc_channel
struct t_irc_channel *next_channel; /* link to next channel */
};
+extern char *irc_channel_default_chantypes;
+
extern int irc_channel_valid (struct t_irc_server *server,
struct t_irc_channel *channel);
extern struct t_irc_channel *irc_channel_search (struct t_irc_server *server,