diff options
author | Viper <viper@anope.org> | 2011-11-16 16:30:45 +0100 |
---|---|---|
committer | Viper <viper@anope.org> | 2011-11-16 16:30:45 +0100 |
commit | 2a1cd54bc7d6e8cdd9accccef50d4ec9bb1d6f36 (patch) | |
tree | b9f46e151a6d91abb158370f06befe0d26a27637 /src/botserv.c | |
parent | 0dd4a98e5369ef0c023a1fa7174988ceba32f27d (diff) |
Use vident instead of ident in combination with the vhost for botserv kick(ban)s and nickserv access list checking.
Diffstat (limited to 'src/botserv.c')
-rw-r--r-- | src/botserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c index 7506df7f5..894d6d9df 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -660,7 +660,7 @@ static BanData *get_ban_data(Channel * c, User * u) if (!c || !u) return NULL; - snprintf(mask, sizeof(mask), "%s@%s", u->username, + snprintf(mask, sizeof(mask), "%s@%s", common_get_vident(u), common_get_vhost(u)); for (bd = c->bd; bd; bd = next) { |