summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/m_nick.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c
index e271494..e34f501 100644
--- a/modules/core/m_nick.c
+++ b/modules/core/m_nick.c
@@ -585,7 +585,6 @@ mr_nick(struct Client *client_p, struct Client *source_p,
int parc, char *parv[])
{
char nick[NICKLEN + 1] = { '\0' };
- char *s = NULL;
struct Client *target_p = NULL;
struct MaskItem *conf = NULL;
@@ -596,10 +595,6 @@ mr_nick(struct Client *client_p, struct Client *source_p,
return;
}
- /* Terminate the nick at the first ~ */
- if ((s = strchr(parv[1], '~')) != NULL)
- *s = '\0';
-
/* Copy the nick and terminate it */
strlcpy(nick, parv[1], IRCD_MIN(sizeof(nick), ServerInfo.max_nick_length + 1));