diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ns_group.c | 1 | ||||
| -rw-r--r-- | src/core/ns_register.c | 1 | ||||
| -rw-r--r-- | src/core/os_oper.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/core/ns_group.c b/src/core/ns_group.c index c86f460cd..5648c3fe3 100644 --- a/src/core/ns_group.c +++ b/src/core/ns_group.c @@ -164,6 +164,7 @@ class CommandNSGroup : public Command } u->na = na; + u->nc = na->nc; na->u = u; send_event(EVENT_GROUP, 1, u->nick); diff --git a/src/core/ns_register.c b/src/core/ns_register.c index a02a043c4..a79997bce 100644 --- a/src/core/ns_register.c +++ b/src/core/ns_register.c @@ -89,6 +89,7 @@ class CommandNSConfirm : public Command if (!force) { u->na = na; + u->nc = na->nc; na->u = u; alog("%s: '%s' registered by %s@%s (e-mail: %s)", s_NickServ, u->nick, u->GetIdent().c_str(), u->host, nr->email ? nr->email : "none"); if (NSAddAccessOnReg) 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); |
