diff options
| author | 2010-08-21 17:15:27 +0000 | |
|---|---|---|
| committer | 2010-08-21 17:15:27 +0000 | |
| commit | 5971bc4e1a46c763f6784c40e29c989373d578e5 (patch) | |
| tree | 949dda422b1a93ea8a213642b3bd3afee8340fc1 /src/modules/chan/libkvichan.cpp | |
| parent | - handle channel list modes dinamically (only +b is hardcoded) (diff) | |
| download | KVIrc-5971bc4e1a46c763f6784c40e29c989373d578e5.tar.gz KVIrc-5971bc4e1a46c763f6784c40e29c989373d578e5.tar.bz2 KVIrc-5971bc4e1a46c763f6784c40e29c989373d578e5.zip | |
- fixed notifier close button
- fixed crash bug on missing pixmap
- fixed doc for $chan.matchmask
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4920 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/chan/libkvichan.cpp')
| -rw-r--r-- | src/modules/chan/libkvichan.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/modules/chan/libkvichan.cpp b/src/modules/chan/libkvichan.cpp index 11308d33c..41ab4e542 100644 --- a/src/modules/chan/libkvichan.cpp +++ b/src/modules/chan/libkvichan.cpp @@ -1635,15 +1635,12 @@ static bool chan_kvs_fnc_matchqban(KviKvsModuleFunctionCall * c) @syntax: <string> $chan.matchmask(<mode:char>,<complete_mask:string>[,window_id]) @description: - - Some networks use +q channel mode to set "mute bans".[br] - When an user mask matches such a ban, he won't be able to send messages to the channel.[br] - The "mute bans" masks will be inserted in the normal channel bans list, with a percent sign % prepended - This function returns the "mute ban" mask that matches <complete_mask> on channel identified by [window_id].[br] - If no ban mask matches <complete_mask> an empty string is returned.[br] + Matches the provided <complete_mask> agains the mask list for channel mode <mode> on the channel identified by [window_id].[br] + If no mask matches <complete_mask> an empty string is returned.[br] If [window_id] is empty, the current window is used.[br] If the window designated by [window_id] is not a channel a warning is printed and an empty string is returned.[br] - This function is useful to determine if a "mute ban" set on the channel matches an user.[br] + Please note that some irc servers use channel list modes not only to store masks, but also for other data such + as nicknames. This function should be able to match them as long as they are strings.[br] */ static bool chan_kvs_fnc_matchmask(KviKvsModuleFunctionCall * c) { |
