diff options
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index db5c4d5bd..d43a80b52 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -34,7 +34,6 @@ IRCDVar myIrcd[] = { 0, /* vidents */ 0, /* svshold */ 0, /* time stamp on mode */ - 0, /* NICKIP */ 0, /* UMODE */ 0, /* O:LINE */ 0, /* VHOST ON NICK */ @@ -405,7 +404,7 @@ int anope_event_nick(const Anope::string &source, int ac, const char **av) { Server *s = Server::Find(source); /* Source is always the server */ - user = do_nick("", av[0], av[4], av[5], s->GetName(), av[8], Anope::string(av[2]).is_pos_number_only() ? convertTo<time_t>(av[2]) : 0, 0, "*", av[7]); + user = do_nick("", av[0], av[4], av[5], s->GetName(), av[8], Anope::string(av[2]).is_pos_number_only() ? convertTo<time_t>(av[2]) : 0, av[6], "*", av[7]); if (user) { UserSetInternalModes(user, 1, &av[3]); @@ -421,7 +420,7 @@ int anope_event_nick(const Anope::string &source, int ac, const char **av) } } else if (ac == 2) - do_nick(source, av[0], "", "", "", "", Anope::string(av[1]).is_pos_number_only() ? convertTo<time_t>(av[1]) : 0, 0, "", ""); + do_nick(source, av[0], "", "", "", "", Anope::string(av[1]).is_pos_number_only() ? convertTo<time_t>(av[1]) : 0, "", "", ""); return MOD_CONT; } |