diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index a9bf10699..c280d0699 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1337,6 +1337,7 @@ void handle_oper(char **parameters, int pcnt, userrec *user) /* found this oper's opertype */ ConfValue("type","host",j,Hostname,&config_f); ChangeDisplayedHost(user,Hostname); + strncpy(user->oper,TypeName,NICKMAX); } } if (!strchr(user->modes,'o')) |