From 9898328865b75d4dde9f2a5ff60cfab473c415eb Mon Sep 17 00:00:00 2001 From: Geert Hauwaerts Date: Mon, 9 Apr 2007 14:55:42 +0000 Subject: Local opers on IRCnet (umode +O) get the server->server_operator flag. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4442 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/modes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/core') diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index e30e7447..44cd1649 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -409,7 +409,7 @@ static void parse_user_mode(IRC_SERVER_REC *server, const char *modestr) newmode = modes_join(NULL, server->usermode, modestr, FALSE); oldmode = server->usermode; server->usermode = newmode; - server->server_operator = (strchr(newmode, 'o') != NULL); + server->server_operator = ((strchr(newmode, 'o') != NULL) || (strchr(newmode, 'O') != NULL)); signal_emit("user mode changed", 2, server, oldmode); g_free_not_null(oldmode); -- cgit v1.2.3