]> jfr.im git - irc/UndernetIRC/gnuworld.git/commitdiff
chanfix bug fix: C crashes when the CHECK command is used on a
authorHidden <redacted>
Thu, 30 Dec 2021 23:38:51 +0000 (18:38 -0500)
committerHidden <redacted>
Thu, 30 Dec 2021 23:38:51 +0000 (18:38 -0500)
channel that does not exist

mod.openchanfix/CHECKCommand.cc

index 447415bab1c5aa2270c37fd69ae3139dcf9e17d7..c8b526c6b4e1717ba0ba6835f34b7dfc993303ae 100644 (file)
@@ -43,7 +43,7 @@ if (!netChan) {
   bot->SendTo(theClient,
               bot->getResponse(theUser,
                               language::no_such_channel,
-                              std::string("No such channel %s.")).c_str());
+                              std::string("No such channel %s.")).c_str(), st[1].c_str());
   return;
 }