diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-19 08:48:14 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-19 08:48:14 +0000 |
commit | b84031518357637e4f328e1d6f37b9d19a0d39b5 (patch) | |
tree | e14315e047459713b8831618f0fa442edc7bf760 /src | |
parent | 709b07d9a30f9033c7b5ec418597189d2eb70962 (diff) |
- Undo -r1900 for now [Changed RPL_WELCOME to comply with rfc2812]. Looks like this
confuses mIRC in conjunction with spoofed hosts
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2098 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r-- | src/numeric.c | 2 | ||||
-rw-r--r-- | src/s_user.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/numeric.c b/src/numeric.c index 30856a6..90842dd 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -28,7 +28,7 @@ static const char *replies[] = { /* 000 */ NULL, -/* 001 RPL_WELCOME */ ":%s 001 %s :Welcome to the %s Internet Relay Chat Network %s!%s@%s", +/* 001 RPL_WELCOME */ ":%s 001 %s :Welcome to the %s Internet Relay Chat Network %s", /* 002 RPL_YOURHOST */ ":%s 002 %s :Your host is %s, running version %s", /* 003 RPL_CREATED */ ":%s 003 %s :This server was created %s", /* 004 RPL_MYINFO */ ":%s 004 %s %s %s %s bciklmnoprstveIMORS bkloveI", diff --git a/src/s_user.c b/src/s_user.c index a6f82d5..0f33e6c 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -1095,8 +1095,7 @@ user_welcome(struct Client *source_p) #endif sendto_one(source_p, form_str(RPL_WELCOME), me.name, source_p->name, - ServerInfo.network_name, source_p->name, - source_p->username, source_p->host); + ServerInfo.network_name, source_p->name); sendto_one(source_p, form_str(RPL_YOURHOST), me.name, source_p->name, get_listener_name(source_p->localClient->listener), ircd_version); sendto_one(source_p, form_str(RPL_CREATED), |