X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fcmd_neonserv_ban.c;h=2a419eb6c94860305df271f62cbf1436393042cb;hb=ee39770362f69ced5b52104b622582e882af0b77;hp=7752d181e4419150b01c78f5535d393eb52a8fa0;hpb=4d078d69cd2308cc835d7d8f1117e9b18ec37b61;p=NeonServV5.git diff --git a/src/modules/NeonServ.mod/cmd_neonserv_ban.c b/src/modules/NeonServ.mod/cmd_neonserv_ban.c index 7752d18..2a419eb 100644 --- a/src/modules/NeonServ.mod/cmd_neonserv_ban.c +++ b/src/modules/NeonServ.mod/cmd_neonserv_ban.c @@ -1,4 +1,4 @@ -/* cmd_neonserv_ban.c - NeonServ v5.5 +/* cmd_neonserv_ban.c - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -33,7 +33,7 @@ struct neonserv_cmd_ban_cache { CMD_BIND(neonserv_cmd_ban) { struct neonserv_cmd_ban_cache *cache = malloc(sizeof(*cache)); if (!cache) { - perror("malloc() failed"); + printf_log("neonserv", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__); return; } cache->client = client;