diff options
Diffstat (limited to 'src/modules/chan')
-rw-r--r-- | src/modules/chan/libkvichan.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/chan/libkvichan.cpp b/src/modules/chan/libkvichan.cpp index b7600f81..174f28be 100644 --- a/src/modules/chan/libkvichan.cpp +++ b/src/modules/chan/libkvichan.cpp @@ -1094,20 +1094,20 @@ static bool chan_kvs_fnc_users(KviKvsModuleFunctionCall * c) KviUserListEntry * e = ch->userListView()->firstItem(); // Thnx Julien :) bool bCheckMask = !szMask.isEmpty(); - bool bOp = szFlags.tqfind('o',false) != -1; - bool bVoice = szFlags.tqfind('v',false) != -1; - bool bHalfOp = szFlags.tqfind('h',false) != -1; - bool bChanAdmins = szFlags.tqfind('a',false) != -1; - bool bUserOp = szFlags.tqfind('u',false) != -1; - bool bNone = szFlags.tqfind('n',false) != -1; + bool bOp = szFlags.find('o',false) != -1; + bool bVoice = szFlags.find('v',false) != -1; + bool bHalfOp = szFlags.find('h',false) != -1; + bool bChanAdmins = szFlags.find('a',false) != -1; + bool bUserOp = szFlags.find('u',false) != -1; + bool bNone = szFlags.find('n',false) != -1; bool bCheckFlags = bOp || bVoice || bHalfOp || bNone || bChanAdmins || bUserOp; - bool bAddMask = szFlags.tqfind('m',false) != -1; + bool bAddMask = szFlags.find('m',false) != -1; int idx = 0; if(bAddMask || bCheckFlags || bCheckMask) { - bool bMaskMustMatch = szFlags.tqfind('i',false) == -1; + bool bMaskMustMatch = szFlags.find('i',false) == -1; KviIrcMask tqmask(szMask); while(e) |