diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hs_off.c | 2 | ||||
| -rw-r--r-- | src/core/os_noop.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hs_off.c b/src/core/hs_off.c index 8b4e1d4a3..c8d331a02 100644 --- a/src/core/hs_off.c +++ b/src/core/hs_off.c @@ -76,7 +76,7 @@ int do_off(User * u) if (vhost == NULL && vident == NULL) notice_lang(s_HostServ, u, HOST_NOT_ASSIGNED); else - anope_cmd_vhost_off(u); + anope_SendVhostDel(u); } else { notice_lang(s_HostServ, u, HOST_ID); } diff --git a/src/core/os_noop.c b/src/core/os_noop.c index 5b8c3002c..92b37cc20 100644 --- a/src/core/os_noop.c +++ b/src/core/os_noop.c @@ -79,7 +79,7 @@ int do_noop(User * u) char reason[NICKMAX + 32]; /* Remove the O:lines */ - anope_cmd_svsnoop(server, 1); + anope_SendSVSNOOP(server, 1); snprintf(reason, sizeof(reason), "NOOP command used by %s", u->nick); @@ -97,7 +97,7 @@ int do_noop(User * u) } } } else if (!stricmp(cmd, "REVOKE")) { - anope_cmd_svsnoop(server, 0); + anope_SendSVSNOOP(server, 0); notice_lang(s_OperServ, u, OPER_NOOP_REVOKE, server); } else { syntax_error(s_OperServ, u, "NOOP", OPER_NOOP_SYNTAX); |
