summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/chanserv.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-08 13:06:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 13:11:50 +0000
commitf083795c79fc062951d0253b4babf7e3b48c6ccb (patch)
treed40d77a317f31e7d8acb6db3df85dbd3e3efbda9 /modules/pseudoclients/chanserv.cpp
parent5db79c1e242d4c06d1aeb2b09f99b8254b7fb5de (diff)
Fix various format string issues.
Diffstat (limited to 'modules/pseudoclients/chanserv.cpp')
-rw-r--r--modules/pseudoclients/chanserv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp
index a644c7d7e..414fb9cc0 100644
--- a/modules/pseudoclients/chanserv.cpp
+++ b/modules/pseudoclients/chanserv.cpp
@@ -258,7 +258,7 @@ public:
"commands are listed below; to use them, type\n"
"\002%s%s \037command\037\002. For more information on a\n"
"specific command, type \002%s%s HELP \037command\037\002.\n"),
- ChanServ->nick.c_str(), ChanServ->nick.c_str(), Config->StrictPrivmsg.c_str(), ChanServ->nick.c_str(), Config->StrictPrivmsg.c_str(), ChanServ->nick.c_str(), ChanServ->nick.c_str(), source.command.c_str());
+ ChanServ->nick.c_str(), ChanServ->nick.c_str(), Config->StrictPrivmsg.c_str(), ChanServ->nick.c_str(), Config->StrictPrivmsg.c_str(), ChanServ->nick.c_str());
return EVENT_CONTINUE;
}
@@ -269,9 +269,9 @@ public:
time_t chanserv_expire = Config->GetModule(this)->Get<time_t>("expire", "30d");
if (chanserv_expire >= 86400)
source.Reply(_(" \n"
- "Note that any channel which is not used for %d days\n"
+ "Note that any channel which is not used for %lu days\n"
"(i.e. which no user on the channel's access list enters\n"
- "for that period of time) will be automatically dropped."), chanserv_expire / 86400);
+ "for that period of time) will be automatically dropped."), (unsigned long)chanserv_expire / 86400);
if (source.IsServicesOper())
source.Reply(_(" \n"
"Services Operators can also, depending on their access drop\n"