Cleanup code so it builds with C++ again
[ircu2.10.12-pk.git] / ircd / m_nick.c
index e986e2db34859fac978d3bcc386a112804b179e4..ef31e88c7f486784a8f63088b222f8e6c6e790ee 100644 (file)
@@ -284,7 +284,7 @@ int ms_nick(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   char nick[NICKLEN + 2];
   time_t lastnick = 0;
   int differ = 1;
-  char *type;
+  const char *type;
 
   assert(0 != cptr);
   assert(0 != sptr);