summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client.c4
-rw-r--r--edit.c2
-rw-r--r--pounce.14
3 files changed, 5 insertions, 5 deletions
diff --git a/client.c b/client.c
index 19296ed..1ae31ed 100644
--- a/client.c
+++ b/client.c
@@ -281,8 +281,8 @@ static void handleAuthenticate(struct Client *client, struct Message *msg) {
static void handleQuit(struct Client *client, struct Message *msg) {
const char *mesg = msg->params[0];
- if (mesg && !strncmp(mesg, "pounce", 6) && (!mesg[6] || mesg[6] == ' ')) {
- mesg += 6;
+ if (mesg && !strncmp(mesg, "$pounce", 7) && (!mesg[7] || mesg[7] == ' ')) {
+ mesg += 7;
mesg += strspn(mesg, " ");
clientQuit = strdup(mesg);
if (!clientQuit) err(EX_OSERR, "strdup");
diff --git a/edit.c b/edit.c
index 793e413..4003fac 100644
--- a/edit.c
+++ b/edit.c
@@ -404,7 +404,7 @@ static void handlePrivmsg(struct Message *msg) {
);
} else if (!strcmp(cmd, "restart")) {
- format("QUIT :pounce reloading configuration\r\n");
+ format("QUIT :$pounce reloading configuration\r\n");
}
}
diff --git a/pounce.1 b/pounce.1
index 3a5a81c..67d3ae9 100644
--- a/pounce.1
+++ b/pounce.1
@@ -1,4 +1,4 @@
-.Dd April 3, 2022
+.Dd October 30, 2022
.Dt POUNCE 1
.Os
.
@@ -479,7 +479,7 @@ will simply be disconnected from
If, however,
the quit message
starts with the keyword
-.Nm ,
+.Sy $pounce ,
.Nm
itself will quit.
The remainder of the message