diff options
-rw-r--r-- | modules/core/m_kick.c | 7 | ||||
-rw-r--r-- | modules/m_names.c | 3 | ||||
-rw-r--r-- | modules/m_whowas.c | 2 |
3 files changed, 0 insertions, 12 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'; diff --git a/modules/m_names.c b/modules/m_names.c index f1b9409..07cf820 100644 --- a/modules/m_names.c +++ b/modules/m_names.c @@ -143,9 +143,6 @@ m_names(struct Client *client_p, struct Client *source_p, if (!EmptyString(para)) { - while (*para == ',') - ++para; - if ((s = strchr(para, ',')) != NULL) *s = '\0'; diff --git a/modules/m_whowas.c b/modules/m_whowas.c index 0a0d542..5b312c3 100644 --- a/modules/m_whowas.c +++ b/modules/m_whowas.c @@ -62,8 +62,6 @@ whowas_do(struct Client *client_p, struct Client *source_p, return; nick = parv[1]; - while (*nick == ',') - nick++; if ((p = strchr(nick,',')) != NULL) *p = '\0'; if (*nick == '\0') |