summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-24 14:02:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-24 14:02:10 +0000
commit126ba7c6009a795846b25f11aa4271efa7d7aa9a (patch)
tree975c517755fbeb0642dc08e5cba178b03b2dfe1d /src/inspircd.cpp
parentbe1a1fad01e521e9b8c0c047cec250b3b990ec33 (diff)
Added IP addresses to connection notices to support bopm
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@891 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 20b831cc6..92808bd0b 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2363,7 +2363,7 @@ void ConnectUser(userrec *user)
WriteServ(user->fd,"005 %s WALLCHOPS WATCH=128 SILENCE=5 MODES=13 CHANTYPES=# PREFIX=(ohv)@%c+ CHANMODES=ohvbeqa,kfL,l,psmntirRcOAQKVHGCuzN NETWORK=%s :are supported by this server",user->nick,'%',Network);
ShowMOTD(user);
FOREACH_MOD OnUserConnect(user);
- WriteOpers("*** Client connecting on port %d: %s!%s@%s",user->port,user->nick,user->ident,user->host);
+ WriteOpers("*** Client connecting on port %d: %s!%s@%s [%s]",user->port,user->nick,user->ident,user->host,user->ip);
char buffer[MAXBUF];
snprintf(buffer,MAXBUF,"N %d %s %s %s %s +%s %s %s :%s",user->age,user->nick,user->host,user->dhost,user->ident,user->modes,user->ip,ServerName,user->fullname);