}
static MODCMD_FUNC(cmd_version) {
+ /* This function provides copyright management information to end
+ * users of srvx. You should not alter, disable or remove this
+ * command or its accessibility to normal IRC users.
+ */
reply("MCMSG_VERSION");
send_message_type(4, user, cmd->parent->bot, "Copyright 2000-2004 srvx Development Team.\nThe srvx Development Team includes Paul Chang, Adrian Dewhurst, Miles Peterson, Michael Poole and others.\nThe srvx Development Team can be reached at http://sf.net/projects/srvx/ or in #srvx on irc.gamesurge.net.");
if ((argc > 1) && !irccasecmp(argv[1], "arch"))
hi = register_handle(handle, crypted, 0);
hi->masks = alloc_string_list(1);
hi->users = NULL;
+ hi->language = lang_C;
hi->registered = now;
hi->lastseen = now;
hi->flags = HI_DEFAULT_FLAGS;
snprintf(body, sizeof(body), fmt, netname, cookie->cookie+COOKIELEN/2, nickserv->nick, self->name, hi->handle, COOKIELEN/2);
sendmail(nickserv, hi, subject, body, 1);
fmt = user_find_message(user, "NSEMAIL_EMAIL_CHANGE_BODY_OLD");
- snprintf(body, sizeof(body), fmt, netname, cookie->cookie+COOKIELEN/2, nickserv->nick, self->name, hi->handle, COOKIELEN/2, hi->email_addr);
+ snprintf(body, sizeof(body), fmt, netname, cookie->cookie, nickserv->nick, self->name, hi->handle, COOKIELEN/2, hi->email_addr);
} else {
send_message(user, nickserv, "NSMSG_USE_COOKIE_EMAIL_1");
fmt = user_find_message(user, "NSEMAIL_EMAIL_VERIFY_SUBJECT");