|
|
@@ -157,6 +157,7 @@ void priority_do(struct chanset_t * chan, bool opsonly, int action)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
if (!targets || !ops)
|
|
|
return;
|
|
|
|
|
|
@@ -1004,7 +1005,7 @@ take_massopline(char *op, char **to_op)
|
|
|
*nick = NULL;
|
|
|
register bool useop = 0;
|
|
|
|
|
|
- for (int i = 0; i < modesperline; i++) {
|
|
|
+ for (unsigned int i = 0; i < modesperline; i++) {
|
|
|
if (*to_op[0] || op) {
|
|
|
/* if 'op' then use it, then move on to to_op */
|
|
|
if (!useop && op) {
|