diff --git a/channel.c b/channel.c index a2468e6..fabb4ae 100644 --- a/channel.c +++ b/channel.c @@ -93,11 +93,11 @@ tmpUsers = tmpChannel->users; - writeLog("Freeing Chan: %s\n",channel); + writeLog("Freeing User From Chan: %s\n",channel); for (;tmpUsers != 0x0;tmpUsers = tmpUsers->next) { if (!strcasecmp(tmpUsers->user->userInfo.username,userConnection->userInfo.username)) { - printf("Found and removed user\n"); + printf("Found and removed user: %s\n",tmpUsers->user->userInfo.username); if (tmpUsers->prev != 0x0) tmpUsers->prev->next = tmpUsers->next; @@ -105,7 +105,7 @@ tmpUsers->next->prev = tmpUsers->prev; free(tmpUsers); - printf("freed\n"); + printf("User Freed\n"); return(0x0); } }