summaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index a2f9b83ac..c1510fe7f 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -866,7 +866,8 @@ void do_cmode(const char *source, int ac, char **av)
if (ircdcap->tsmode) {
/* TSMODE for bahamut - leave this code out to break MODEs. -GD */
- if (uplink_capab & ircdcap->tsmode) {
+ /* if they don't send it in CAPAB check if we just want to enable it */
+ if (uplink_capab & ircdcap->tsmode || UseTSMODE) {
for (i = 0; i < strlen(av[1]); i++) {
if (!isdigit(av[1][i]))
break;