summaryrefslogtreecommitdiff
path: root/src/core/os_oper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_oper.c')
-rw-r--r--src/core/os_oper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_oper.c b/src/core/os_oper.c
index bc7031c51..7ddceb257 100644
--- a/src/core/os_oper.c
+++ b/src/core/os_oper.c
@@ -172,7 +172,7 @@ class CommandOSOper : public Command
if (!nick || (isdigit(*nick) && strspn(nick, "1234567890,-") == strlen(nick)))
{
- res = slist_enum(&servopers, nick, &oper_list_callback, u, &sent_header);
+ int res = slist_enum(&servopers, nick, &oper_list_callback, u, &sent_header);
if (!res)
{
notice_lang(s_OperServ, u, OPER_OPER_NO_MATCH);