summaryrefslogtreecommitdiff
path: root/src/protocol/charybdis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/charybdis.c')
-rw-r--r--src/protocol/charybdis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c
index 1bcad6fec..20ad216f2 100644
--- a/src/protocol/charybdis.c
+++ b/src/protocol/charybdis.c
@@ -146,7 +146,7 @@ IRCDCAPAB myIrcdcap[] = {
/*******************************************************************/
-void CharybdisProto::set_umode(User *user, int ac, const char **av)
+void CharybdisProto::ProcessUsermodes(User *user, int ac, const char **av)
{
int add = 1; /* 1 if adding modes, 0 if deleting */
const char *modes = av[0];
@@ -489,14 +489,14 @@ int anope_event_nick(const char *source, int ac, const char **av)
user = do_nick("", av[0], av[4], av[5], s->name, av[8],
strtoul(av[2], NULL, 10), 0, 0, NULL, av[7]);
if (user) {
- anope_set_umode(user, 1, &av[3]);
+ anope_ProcessUsermodes(user, 1, &av[3]);
}
} else {
if (ac != 2) {
user = do_nick(source, av[0], av[4], av[5], av[6], av[7],
strtoul(av[2], NULL, 10), 0, 0, NULL, NULL);
if (user)
- anope_set_umode(user, 1, &av[3]);
+ anope_ProcessUsermodes(user, 1, &av[3]);
} else {
do_nick(source, av[0], NULL, NULL, NULL, NULL,
strtoul(av[1], NULL, 10), 0, 0, NULL, NULL);
@@ -533,7 +533,7 @@ int anope_event_euid(const char *source, int ac, const char **av)
user = do_nick("", av[0], av[4], !strcmp(av[8], "*") ? av[5] : av[8], s->name, av[10],
ts, !stricmp(av[0], av[9]) ? ts : 0, 0, av[5], av[7]);
if (user) {
- anope_set_umode(user, 1, &av[3]);
+ anope_ProcessUsermodes(user, 1, &av[3]);
}
}
return MOD_CONT;