|
@@ -628,8 +628,7 @@ int readuserfile(const char *file, struct userrec **ret)
|
|
|
else if (lasthand[0] == '*') {
|
|
else if (lasthand[0] == '*') {
|
|
|
if (lasthand[1] == IGNORE_NAME[1])
|
|
if (lasthand[1] == IGNORE_NAME[1])
|
|
|
restore_ignore(s);
|
|
restore_ignore(s);
|
|
|
-/* FIXME: remove after 1.2.3 */
|
|
|
|
|
- else if (lasthand[1] == SET_NAME[1] || lasthand[1] == 'C') {
|
|
|
|
|
|
|
+ else if (lasthand[1] == SET_NAME[1]) {
|
|
|
set_cmd_pass(s, 0); /* no need to share here, if we have a new userfile
|
|
set_cmd_pass(s, 0); /* no need to share here, if we have a new userfile
|
|
|
* then leaf bots under us also get the new userfile */
|
|
* then leaf bots under us also get the new userfile */
|
|
|
}
|
|
}
|
|
@@ -657,8 +656,7 @@ int readuserfile(const char *file, struct userrec **ret)
|
|
|
} else if (lasthand[0] == '*') {
|
|
} else if (lasthand[0] == '*') {
|
|
|
if (lasthand[1] == INVITE_NAME[1]) {
|
|
if (lasthand[1] == INVITE_NAME[1]) {
|
|
|
restore_chanmask('I', NULL, s);
|
|
restore_chanmask('I', NULL, s);
|
|
|
-/* FIXME: Remove after 1.2.3 */
|
|
|
|
|
- } else if (lasthand[1] == SET_NAME[1] || lasthand[1] == 'C') {
|
|
|
|
|
|
|
+ } else if (lasthand[1] == SET_NAME[1]) {
|
|
|
var_userfile_share_line(s, -1, 0);
|
|
var_userfile_share_line(s, -1, 0);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -781,9 +779,7 @@ int readuserfile(const char *file, struct userrec **ret)
|
|
|
int ok = 0;
|
|
int ok = 0;
|
|
|
|
|
|
|
|
for (ue = u->entries; ue && !ok; ue = ue->next)
|
|
for (ue = u->entries; ue && !ok; ue = ue->next)
|
|
|
-/* FIXME: remove after 1.2.3 */
|
|
|
|
|
- if (ue->name && (!egg_strcasecmp(code + 2, ue->name) ||
|
|
|
|
|
- (!egg_strcasecmp(code + 2, "CONFIG") && !egg_strcasecmp(ue->name, "SET")))) {
|
|
|
|
|
|
|
+ if (ue->name && !egg_strcasecmp(code + 2, ue->name)) {
|
|
|
struct list_type *list = NULL;
|
|
struct list_type *list = NULL;
|
|
|
|
|
|
|
|
list = (struct list_type *) my_calloc(1, sizeof(struct list_type));
|
|
list = (struct list_type *) my_calloc(1, sizeof(struct list_type));
|
|
@@ -823,8 +819,7 @@ int readuserfile(const char *file, struct userrec **ret)
|
|
|
} else if (!rfc_casecmp(code, CHANS_NAME)) {
|
|
} else if (!rfc_casecmp(code, CHANS_NAME)) {
|
|
|
strcpy(lasthand, code);
|
|
strcpy(lasthand, code);
|
|
|
u = NULL;
|
|
u = NULL;
|
|
|
-/* FIXME: remove after 1.2.3 */
|
|
|
|
|
- } else if (!rfc_casecmp(code, SET_NAME) || !rfc_casecmp(code, "*Config")) {
|
|
|
|
|
|
|
+ } else if (!rfc_casecmp(code, SET_NAME)) {
|
|
|
strcpy(lasthand, code);
|
|
strcpy(lasthand, code);
|
|
|
u = NULL;
|
|
u = NULL;
|
|
|
} else if (code[0] == '*') {
|
|
} else if (code[0] == '*') {
|