summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-23 08:22:06 +0000
committeradam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-23 08:22:06 +0000
commit59c1a509b4264648a6ef61e96b85f06f735d6dd6 (patch)
treefd766d4364030276404b079520d5259b097e516b
parentdc65eca3d8face5a71e3373084efa136664b02a0 (diff)
Fix for bahamut protocol module to get the users IP when new users are introduced
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2335 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/protocol/bahamut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 58ec221a7..bc1a7b01f 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -743,7 +743,7 @@ int anope_event_nick(const char *source, int ac, const char **av)
if (ac != 2) {
user = do_nick(source, av[0], av[4], av[5], av[6], av[9],
- strtoul(av[2], NULL, 10), strtoul(av[7], NULL, 0),
+ strtoul(av[2], NULL, 10), strtoul(av[8], NULL, 0),
NULL, NULL);
if (user) {
ircdproto->ProcessUsermodes(user, 1, &av[3]);