|
@@ -145,8 +145,7 @@ void break_down_flags(const char *string, struct flag_record *plus, struct flag_
|
|
|
if ((*string >= 'a') && (*string <= 'z')) {
|
|
if ((*string >= 'a') && (*string <= 'z')) {
|
|
|
switch (mode) {
|
|
switch (mode) {
|
|
|
case 0:
|
|
case 0:
|
|
|
- which->global |=1 << (*string - 'a');
|
|
|
|
|
-
|
|
|
|
|
|
|
+ which->global |= 1 << (*string - 'a');
|
|
|
break;
|
|
break;
|
|
|
case 1:
|
|
case 1:
|
|
|
which->chan |= 1 << (*string - 'a');
|
|
which->chan |= 1 << (*string - 'a');
|
|
@@ -198,7 +197,7 @@ void break_down_flags(const char *string, struct flag_record *plus, struct flag_
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-static int flag2str(char *string, int bot)
|
|
|
|
|
|
|
+static int flag2str(char *string, flag_t bot)
|
|
|
{
|
|
{
|
|
|
char x = 'a', *old = string;
|
|
char x = 'a', *old = string;
|
|
|
|
|
|