diff options
Diffstat (limited to 'src/cmd_oper.cpp')
-rw-r--r-- | src/cmd_oper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp index 15e0df3c4..7cbf4b79f 100644 --- a/src/cmd_oper.cpp +++ b/src/cmd_oper.cpp @@ -117,7 +117,7 @@ void cmd_oper::Handle (char **parameters, int pcnt, userrec *user) log(DEFAULT,"OPER: Failed oper attempt by %s!%s@%s: credentials valid, but oper type erroneous.",user->nick,user->ident,user->host); return; } - strlcpy(user->oper,TypeName,NICKMAX); + strlcpy(user->oper,TypeName,NICKMAX-1); found = true; fail2 = false; break; |