From f6fa8d23a362cddf4e3dda6e085f48df47a9fe4b Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 27 Apr 2013 13:36:32 +0000 Subject: - 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 --- modules/core/m_kick.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'modules/core') 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'; -- cgit