*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version. Important limitations are
* listed in the COPYING file that accompanies this software.
*
cInfo->exceptfloodlevel = 100;
cInfo->capsmin = 10;
cInfo->capspercent = 25;
- if (sizeof(info) == 4)
+
+ /* XXX Rewrite the flag system */
+ if (strlen(info) < 5)
+ strcat(info, "s");
+ if (strlen(info) < 6)
strcat(info, "s");
safestrncpy(cInfo->info, info, sizeof(cInfo->info));
if(kNode)
{
+ /* free(kNode); dict_remove does this */
dict_remove(killed_users_dict, irc_ntoa(&user->ip));
- free(kNode);
}
}