From 33b94d8eb4fa0ca43a3eae6e010027d76cf97dfc Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Wed, 7 Sep 2011 10:02:43 +0200 Subject: [PATCH] Removed unused functions - prevents compile warnings. --- src/core/hub.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/src/core/hub.c b/src/core/hub.c index 75bc490..0d34319 100644 --- a/src/core/hub.c +++ b/src/core/hub.c @@ -974,37 +974,6 @@ void hub_free_variables(struct hub_info* hub) adc_msg_free(hub->command_support); } - -/** - * @return 1 if nickname is in use, or 0 if not used. - */ -static int is_nick_in_use(struct hub_info* hub, const char* nick) -{ - struct hub_user* lookup = uman_get_user_by_nick(hub, nick); - if (lookup) - { - return 1; - } - return 0; -} - - -/** - * @return 1 if CID is in use, or 0 if not used. - */ -static int is_cid_in_use(struct hub_info* hub, const char* cid) -{ - struct hub_user* lookup = uman_get_user_by_cid(hub, cid); - if (lookup) - { - return 1; - } - return 0; -} - - - - static void set_status_code(enum msg_status_level level, int code, char buffer[4]) { buffer[0] = ('0' + (int) level);