From dd030f6e675dd2dd940abaaa2c08e50a7c13f50a Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Sun, 2 Mar 2014 21:15:36 +0000 Subject: [PATCH] Make function_channelnicks() use the sort_type optionally passed in. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@494 13b04d17-f746-0410-82c6-800466cd88b0 --- source/functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/functions.c b/source/functions.c index 14731d3..8260af9 100644 --- a/source/functions.c +++ b/source/functions.c @@ -2666,7 +2666,7 @@ BUILT_IN_FUNCTION(function_channelnicks, word) NickList *list = NULL; if (word && *word) GET_INT_ARG(sort_type, word); - list = sorted_nicklist(chan, NICKSORT_NORMAL); + list = sorted_nicklist(chan, sort_type); for (tmp = list; tmp; tmp = tmp->next) m_s3cat(&nicks, ",", tmp->nick); clear_sorted_nicklist(&list);