diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-27 13:36:32 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-27 13:36:32 +0000 |
commit | f6fa8d23a362cddf4e3dda6e085f48df47a9fe4b (patch) | |
tree | ed93902a0e588751b400f02e0394bf41407da5c8 /modules/core | |
parent | 7a5c90f584bec36a74ca4ca3b94170afaf836325 (diff) |
- m_whowas.c,m_names.c,m_kick.c: remove pointless code. There's no real reason why
we should skip preceding commas in nick-/channelnames
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1887 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/m_kick.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index f800136..24a2888 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -85,9 +85,6 @@ m_kick(struct Client *client_p, struct Client *source_p, comment[KICKLEN] = '\0'; name = parv[1]; - while (*name == ',') - name++; - if ((p = strchr(name,',')) != NULL) *p = '\0'; if (*name == '\0') @@ -155,10 +152,6 @@ m_kick(struct Client *client_p, struct Client *source_p, } user = parv[2]; - - while (*user == ',') - user++; - if ((p = strchr(user, ',')) != NULL) *p = '\0'; |