FAQ: Clarify FAQ #8.
src/nickserv.c: Avoid losing channel information when replacing an
account using the mergedb command.
languages/en_UK: Rename to en_GB.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-20
# arch-tag: automatic-ChangeLog--srvx@srvx.net--2005-srvx/srvx--devo--1.3
#
+2005-05-01 17:16:58 GMT Michael Poole <mdpoole@troilus.org> patch-20
+
+ Summary:
+ Fix en_GB language name, fix NickServ mergedb command.
+ Revision:
+ srvx--devo--1.3--patch-20
+
+ FAQ: Clarify FAQ #8.
+
+ src/nickserv.c: Avoid losing channel information when replacing an
+ account using the mergedb command.
+
+ languages/en_UK: Rename to en_GB.
+
+ modified files:
+ ChangeLog FAQ src/nickserv.c
+
+ renamed files:
+ languages/en_UK/.arch-ids/=id
+ ==> languages/en_GB/.arch-ids/=id
+ languages/en_UK/.arch-ids/README.id
+ ==> languages/en_GB/.arch-ids/README.id
+ languages/en_UK/.arch-ids/chanserv.help.id
+ ==> languages/en_GB/.arch-ids/chanserv.help.id
+ languages/en_UK/.arch-ids/opserv.help.id
+ ==> languages/en_GB/.arch-ids/opserv.help.id
+ languages/en_UK/.arch-ids/strings.db.id
+ ==> languages/en_GB/.arch-ids/strings.db.id
+
+ new directories:
+ languages/en_GB/.arch-ids
+
+ removed directories:
+ languages/en_UK/.arch-ids
+
+ renamed directories:
+ languages/en_UK
+ ==> languages/en_GB
+
+
2005-03-15 23:12:58 GMT Michael Poole <mdpoole@troilus.org> patch-19
Summary:
see the comment near the start of src/mod-memoserv.c for configuration
options.
-Q8) How do I enable both HelpServ and MemoServ? In addition to the
-configuration steps above, you must mention both when you run the
-configure script. For example, run it using "./configure
---enable-modules=memoserv,helpserv". (You may add the snoop and/or
-sockcheck modules as well; separate the module names with commas.)
+Q8) How do I enable both HelpServ and MemoServ?
+A8) In addition to the post-install configuration steps above, you
+must mention both when you run the configure script. For example, run
+it using "./configure --enable-modules=memoserv,helpserv". (You may
+add the snoop and/or sockcheck modules as well; separate the module
+names with commas.)
--- /dev/null
+This translation was written by Simon 'Byte' Arlott.
--- /dev/null
+"CHANNEL" ("$bChannel Management Commands:$b",
+ " OPEN Remove +ilk channel modes and any bans on you from a channel.",
+ " USERS List all users of a channel.",
+ " CLIST coowners of a channel.",
+ " MLIST masters of a channel.",
+ " OLIST ops of a channel.",
+ " PLIST peons of a channel.",
+ " BANS List all the bans for a channel.",
+ " TOPIC Set the current topic, or reset it to the default topic.",
+ " MODE Change a channel mode.",
+ " INVITE Invite new users to your channel.",
+ " INFO Show numerical information about the users in a channel.",
+ " SET Change various channel settings.",
+ " EVENTS View a list of events relevant to a channel.",
+ " NOTE Set a note on a channel.",
+ " DELNOTE Remove a note from a channel.",
+ " RESYNC Synchronise ops and voice with the channel userlist."
+);
+"RESYNC" ("/msg $S RESYNC <#channel>",
+ "Synchronises users in the channel with the userlist. This means that if the user can normally get ops, $S makes sure the user has ops. Otherwise, if the user normally gets voice, $S makes sure the user has voice but not ops. Otherwise, $S makes sure the user has neither voice nor ops.");
+"SET DEFAULTTOPIC" ("/msg $C SET <#channel> DEFAULTTOPIC <New default topic>",
+ "This changes the default topic for the channel. $C will set the IRC topic to this value when the $btopic$b command is used with no arguments, when the topic refresh happens (if you have $bset topicrefresh$b), or when an unauthorised user changes the topic to something else.",
+ "$uSee Also:$u set, set topicrefresh, set enftopic, set topicmask");
+"SET ENFOPS" ("/msg $C SET <#channel> ENFOPS <value>",
+ "This setting restricts who may op users who are not at least ops on the userlist. If $C sees someone with access below the specified access op someone not on the userlist (or who is a peon), it will deop the second user. It is a numeric user level, or 501 to mean no one may op unrecognised users.",
+ "$uSee Also:$u set");
+"Byte" "<mike[F]> I just worked out Byte's role in the srvx team <mike[F]> It's his job to break srvx <mike[F]> Nothing else";
--- /dev/null
+"<INDEX>" ("$b$O Help$b",
+ "$b$O$b is the IRC operator service, giving authorised users extra information and control over the network.",
+ "$uNetwork-related command categories:$u",
+ " USER - User information, control and searching",
+ " CHANNEL - Channel information and control",
+ " GLINES - G-line control and searching",
+ "$usrvx-internal command categories:$u",
+ " CLONES - Control for fake servers and users",
+ " LOGS - Log control and searching",
+ " PROXY - Proxy checking controls",
+ " RUNNING - Control srvx's run-time state",
+ " SERVICES - Control of the other services in srvx",
+ " OTHER - Miscellaneous commands",
+ "$b/msg $O help <category>$b for a list of commands in each category, or $b/msg $O help <command>$b for syntax and usage for a command.");
--- /dev/null
+"CSMSG_RESYNCED_USERS" "Synchronised users in $b%s$b with the userlist.";
+"CSMSG_ACTION_INVALID" "$b%s$b is not a recognised search action.";
+"OSMSG_BAD_ACTION" "Unrecognised trace action $b%s$b.";
+"OSMSG_GSYNC_RUNNING" "Synchronising glines from %s.";
+"NSMSG_REGISTER_BAD_NICKMASK" "Could not recognise $b%s$b as either a current nick or a hostmask.";
+"NSMSG_AUTH_SUCCESS" "I recognise you.";
+"NSEMAIL_ALLOWAUTH_BODY" "This email has been sent to let you authenticate (auth) to account %5$s on %1$s. Your cookie is %2$s.\nTo auth to that account, log on to %1$s and type the following command:\n /msg %3$s@%4$s COOKIE %5$s %2$s\nIf you did NOT request this authorisation, you do not need to do anything. Please contact the %1$s staff if you have questions.";
+++ /dev/null
-This translation was written by Simon 'Byte' Arlott.
+++ /dev/null
-"CHANNEL" ("$bChannel Management Commands:$b",
- " OPEN Remove +ilk channel modes and any bans on you from a channel.",
- " USERS List all users of a channel.",
- " CLIST coowners of a channel.",
- " MLIST masters of a channel.",
- " OLIST ops of a channel.",
- " PLIST peons of a channel.",
- " BANS List all the bans for a channel.",
- " TOPIC Set the current topic, or reset it to the default topic.",
- " MODE Change a channel mode.",
- " INVITE Invite new users to your channel.",
- " INFO Show numerical information about the users in a channel.",
- " SET Change various channel settings.",
- " EVENTS View a list of events relevant to a channel.",
- " NOTE Set a note on a channel.",
- " DELNOTE Remove a note from a channel.",
- " RESYNC Synchronise ops and voice with the channel userlist."
-);
-"RESYNC" ("/msg $S RESYNC <#channel>",
- "Synchronises users in the channel with the userlist. This means that if the user can normally get ops, $S makes sure the user has ops. Otherwise, if the user normally gets voice, $S makes sure the user has voice but not ops. Otherwise, $S makes sure the user has neither voice nor ops.");
-"SET DEFAULTTOPIC" ("/msg $C SET <#channel> DEFAULTTOPIC <New default topic>",
- "This changes the default topic for the channel. $C will set the IRC topic to this value when the $btopic$b command is used with no arguments, when the topic refresh happens (if you have $bset topicrefresh$b), or when an unauthorised user changes the topic to something else.",
- "$uSee Also:$u set, set topicrefresh, set enftopic, set topicmask");
-"SET ENFOPS" ("/msg $C SET <#channel> ENFOPS <value>",
- "This setting restricts who may op users who are not at least ops on the userlist. If $C sees someone with access below the specified access op someone not on the userlist (or who is a peon), it will deop the second user. It is a numeric user level, or 501 to mean no one may op unrecognised users.",
- "$uSee Also:$u set");
-"Byte" "<mike[F]> I just worked out Byte's role in the srvx team <mike[F]> It's his job to break srvx <mike[F]> Nothing else";
+++ /dev/null
-"<INDEX>" ("$b$O Help$b",
- "$b$O$b is the IRC operator service, giving authorised users extra information and control over the network.",
- "$uNetwork-related command categories:$u",
- " USER - User information, control and searching",
- " CHANNEL - Channel information and control",
- " GLINES - G-line control and searching",
- "$usrvx-internal command categories:$u",
- " CLONES - Control for fake servers and users",
- " LOGS - Log control and searching",
- " PROXY - Proxy checking controls",
- " RUNNING - Control srvx's run-time state",
- " SERVICES - Control of the other services in srvx",
- " OTHER - Miscellaneous commands",
- "$b/msg $O help <category>$b for a list of commands in each category, or $b/msg $O help <command>$b for syntax and usage for a command.");
+++ /dev/null
-"CSMSG_RESYNCED_USERS" "Synchronised users in $b%s$b with the userlist.";
-"CSMSG_ACTION_INVALID" "$b%s$b is not a recognised search action.";
-"OSMSG_BAD_ACTION" "Unrecognised trace action $b%s$b.";
-"OSMSG_GSYNC_RUNNING" "Synchronising glines from %s.";
-"NSMSG_REGISTER_BAD_NICKMASK" "Could not recognise $b%s$b as either a current nick or a hostmask.";
-"NSMSG_AUTH_SUCCESS" "I recognise you.";
-"NSEMAIL_ALLOWAUTH_BODY" "This email has been sent to let you authenticate (auth) to account %5$s on %1$s. Your cookie is %2$s.\nTo auth to that account, log on to %1$s and type the following command:\n /msg %3$s@%4$s COOKIE %5$s %2$s\nIf you did NOT request this authorisation, you do not need to do anything. Please contact the %1$s staff if you have questions.";
struct string_list *masks, *slist;
struct handle_info *hi;
struct userNode *authed_users;
+ struct userData *channels;
unsigned long int id;
unsigned int ii;
dict_t subdb;
}
if ((hi = get_handle_info(handle))) {
authed_users = hi->users;
+ channels = hi->channels;
hi->users = NULL;
+ hi->channels = NULL;
dict_remove(nickserv_handle_dict, hi->handle);
} else {
authed_users = NULL;
+ channels = NULL;
}
hi = register_handle(handle, str, id);
if (authed_users) {
authed_users = authed_users->next_authed;
}
}
+ hi->channels = channels;
masks = database_get_data(obj, KEY_MASKS, RECDB_STRING_LIST);
hi->masks = masks ? string_list_copy(masks) : alloc_string_list(1);
str = database_get_data(obj, KEY_MAXLOGINS, RECDB_QSTRING);