From 4e1f5cce80b11e576ded19126980097ebd8e77b0 Mon Sep 17 00:00:00 2001 From: PeGaSuS Date: Wed, 5 Jul 2023 18:09:47 +0200 Subject: Tell users that they must identify to their account before using CONFIRM. This only happens when a nickname is registered via webcpanel and said nickname is online. --- modules/commands/ns_register.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index cfffc1413..bd188637c 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -83,7 +83,7 @@ class CommandNSConfirm : public Command source.Reply(_("Invalid passcode.")); } else - source.Reply(_("Invalid passcode.")); + source.Reply(NICK_IDENTIFY_REQUIRED); return; } -- cgit From 34ab54522e5000a26106c946506bbccfbf584b54 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 9 Jul 2023 22:57:40 +0100 Subject: Fix not serialising dontkickops/dontkickvoices properly. --- modules/commands/bs_kick.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp index 74d53c31c..eeeaf4b22 100644 --- a/modules/commands/bs_kick.cpp +++ b/modules/commands/bs_kick.cpp @@ -31,7 +31,7 @@ struct KickerDataImpl : KickerData void Check(ChannelInfo *ci) anope_override { - if (amsgs || badwords || bolds || caps || colors || flood || italics || repeat || reverses || underlines) + if (amsgs || badwords || bolds || caps || colors || flood || italics || repeat || reverses || underlines || dontkickops || dontkickvoices) return; ci->Shrink("kickerdata"); @@ -67,6 +67,8 @@ struct KickerDataImpl : KickerData data.SetType("floodlines", Serialize::Data::DT_INT); data["floodlines"] << kd->floodlines; data.SetType("floodsecs", Serialize::Data::DT_INT); data["floodsecs"] << kd->floodsecs; data.SetType("repeattimes", Serialize::Data::DT_INT); data["repeattimes"] << kd->repeattimes; + data.SetType("dontkickops", Serialize::Data::DT_INT); data["dontkickops"] << kd->dontkickops; + data.SetType("dontkickvoices", Serialize::Data::DT_INT); data["dontkickvoices"] << kd->dontkickvoices; for (int16_t i = 0; i < TTB_SIZE; ++i) data["ttb"] << kd->ttb[i] << " "; } @@ -95,6 +97,8 @@ struct KickerDataImpl : KickerData data["floodlines"] >> kd->floodlines; data["floodsecs"] >> kd->floodsecs; data["repeattimes"] >> kd->repeattimes; + data["dontkickops"] >> kd->dontkickops; + data["dontkickvoices"] >> kd->dontkickvoices; Anope::string ttb, tok; data["ttb"] >> ttb; -- cgit From e717ac0a89273b7eb50001b4374f3dda2934cd3a Mon Sep 17 00:00:00 2001 From: PeGaSuS Date: Mon, 10 Jul 2023 00:44:02 +0200 Subject: Clarify that operserv/sqline can also match channel names. --- modules/commands/os_sxline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 78ae3d559..4918a1793 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -676,7 +676,7 @@ class CommandOSSQLine : public CommandOSSXLineBase "regular expression, the expression will be matched against\n" "channels too.")); source.Reply(_(" \n" - "\002SQLINE ADD\002 adds the given (nick's) mask to the SQLINE\n" + "\002SQLINE ADD\002 adds the given (nick/channel) mask to the SQLINE\n" "list for the given reason (which \002must\002 be given).\n" "\037expiry\037 is specified as an integer followed by one of \037d\037\n" "(days), \037h\037 (hours), or \037m\037 (minutes). Combinations (such as\n" -- cgit