added new multi log system
[NeonServV5.git] / src / modules / NeonKick.mod / event_neonkick_join.c
index 40439ebbc707477c7f8436dd8c1f446e915f7aef..6dc1224988f2200eaaabd91cce47f579603e7841 100644 (file)
@@ -38,7 +38,7 @@ static void neonkick_event_join(struct ChanUser *chanuser) {
     if(!(user->flags & USERFLAG_ISAUTHED)) {
         struct neonkick_event_join_cache *cache = malloc(sizeof(*cache));
         if (!cache) {
-            perror("malloc() failed");
+            printf_log("neonkick", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__);
             return;
         }
         cache->client = client;