X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/e5a8f7cdc73328b724f14b941538045107e57bce..5073008fbecd2467eb6d601fe6af711a2a378914:/src/chanserv.c diff --git a/src/chanserv.c b/src/chanserv.c index 11f9c0f..084e20b 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -5740,7 +5740,7 @@ static CHANSERV_FUNC(cmd_calc) do_math(response, unsplit_string(argv + 1, argc - 1, NULL)); if(channel) - send_channel_message(channel, cmd->parent->bot, "%b%s%b: %s", user->nick, response); + send_channel_message(channel, cmd->parent->bot, "$b%s$b: %s", user->nick, response); else send_message_type(4, user, cmd->parent->bot, "%s", response); return 1; @@ -7217,6 +7217,7 @@ init_chanserv(const char *nick) DEFINE_COMMAND(8ball, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); DEFINE_COMMAND(d, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); DEFINE_COMMAND(huggle, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); + DEFINE_COMMAND(calc, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); /* Channel options */ DEFINE_CHANNEL_OPTION(defaulttopic);