diff options
| author | DukePyrolator <DukePyrolator@anope.org> | 2010-09-09 18:29:22 +0200 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@anope.org> | 2010-09-09 18:29:22 +0200 |
| commit | fdd196e50b4616ac377bd0ee0ae5ce6c57b657ee (patch) | |
| tree | 0d71592b2d49b15627b7e89860b762622439a4ee | |
| parent | 7a522d1c348ebab4a9fe5d90a91683ea10922973 (diff) | |
fixed cs_unban on inspircd 1.2 and 2.0
| -rw-r--r-- | modules/protocol/inspircd12.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/inspircd20.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/modules/protocol/inspircd12.cpp b/modules/protocol/inspircd12.cpp index 3c5d0f11c..8b6c55907 100644 --- a/modules/protocol/inspircd12.cpp +++ b/modules/protocol/inspircd12.cpp @@ -767,9 +767,7 @@ int anope_event_uid(const Anope::string &source, int ac, const char **av) user = do_nick("", av[2], av[5], av[3], s->GetName(), av[ac - 1], ts, 0, av[4], av[0]); if (user) { - user->host = av[6]; UserSetInternalModes(user, 1, &av[8]); - user->SetCloakedHost(av[4]); if (!user->server->IsSynced()) prev_u_intro = user; else diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp index 1770445cc..be7b7c760 100644 --- a/modules/protocol/inspircd20.cpp +++ b/modules/protocol/inspircd20.cpp @@ -764,9 +764,7 @@ int anope_event_uid(const Anope::string &source, int ac, const char **av) user = do_nick("", av[2], av[5], av[3], s->GetName(), av[ac - 1], ts, 0, av[4], av[0]); if (user) { - user->hostip = av[6]; UserSetInternalModes(user, 1, &av[8]); - user->SetCloakedHost(av[4]); if (!user->server->IsSynced()) prev_u_intro = user; else |
