]> jfr.im git - irc/freenode/ircd-seven.git/commitdiff
Link to registration KB entry in 477/486 responses.
authorDavid Precious <redacted>
Sat, 11 Mar 2017 20:33:46 +0000 (20:33 +0000)
committerDavid Precious <redacted>
Sat, 11 Mar 2017 20:33:46 +0000 (20:33 +0000)
When telling the user they can't join a channel / message a user because
they're not identified to services, a link to explain more info seems helpful.

src/messages.tab

index b1a18156c360b5510117bd689ba8970b6b31d04e..ceef1bf0933ae2382b93efad896b48d296acfd82 100644 (file)
@@ -498,7 +498,7 @@ static  const char *  replies[] = {
 /* 474 ERR_BANNEDFROMCHAN, */   ":%s 474 %s %s :Cannot join channel (+b) - you are banned",
 /* 475 ERR_BADCHANNELKEY, */    ":%s 475 %s %s :Cannot join channel (+k) - bad key",
 /* 476 ERR_BADCHANMASK, */     NULL,
-/* 477 ERR_NEEDREGGEDNICK */   ":%s 477 %s %s :Cannot join channel (+r) - you need to be identified with services",
+/* 477 ERR_NEEDREGGEDNICK */   ":%s 477 %s %s :Cannot join channel (+r) - you need to be identified with services - see http://freenode.net/kb/answer/registration",
 /* 478 ERR_BANLISTFULL, */      ":%s 478 %s %s %s :Channel ban list is full",
 /* 479 ERR_BADCHANNAME */       "%s :Illegal channel name",
 /* 480 ERR_THROTTLE */          ":%s 480 %s %s :Cannot join channel (+j) - throttle exceeded, try again later",
@@ -507,7 +507,7 @@ static  const char *  replies[] = {
 /* 483 ERR_CANTKILLSERVER, */   ":You can't kill a server!",
 /* 484 ERR_ISCHANSERVICE */     ":%s 484 %s %s %s :Cannot kick or deop a network service",
 /* 485 ERR_BANNEDNICK, */      NULL,
-/* 486 ERR_NONONREG */          "%s :You must log in with services to message this user",
+/* 486 ERR_NONONREG */          "%s :You must log in with services to message this user - see http://freenode.net/kb/answer/registration",
 /* 487 */       NULL,
 /* 488 */       NULL,
 /* 489 ERR_VOICENEEDED */      ":%s 489 %s %s :You're neither voiced nor channel operator",