From 62e70f98e2ff1901fb975889379312f54689ad8a Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Thu, 12 Jun 2008 14:52:16 +0000 Subject: [PATCH] Add halfop (%) support to the $channel() scripting function. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@49 13b04d17-f746-0410-82c6-800466cd88b0 --- source/functions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/functions.c b/source/functions.c index ea64c8c..b4889d7 100644 --- a/source/functions.c +++ b/source/functions.c @@ -5419,6 +5419,8 @@ int sort_order = NICKSORT_NORMAL; malloc_strcat(&nicks, "!"); if (nick_isop(tmp)) m_3cat(&nicks, "@", tmp->nick); + else if (nick_ishalfop(tmp)) + m_3cat(&nicks, "%", tmp->nick); else if (nick_isvoice(tmp)) m_3cat(&nicks, "+", tmp->nick); else