diff options
| author | Nakidai <nakidai@disroot.org> | 2026-02-14 00:05:36 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-02-14 00:20:38 +0300 |
| commit | 834c85d80914007e31657d12d2f22a9cb2cd8624 (patch) | |
| tree | 283ed0dacb635b97f93c21c8b0b94b6116ca29a3 /reply.c | |
| parent | 15151c88a7eb381fb5b46daaf521fc609d40539c (diff) | |
| download | libreircd-834c85d80914007e31657d12d2f22a9cb2cd8624.tar.gz libreircd-834c85d80914007e31657d12d2f22a9cb2cd8624.zip | |
Add support for voice and +m channel mode
So now voices in code are not that useless. Also, code was fixed for their printing as it is valid for a user to be both an oper and voiced
Diffstat (limited to 'reply.c')
| -rw-r--r-- | reply.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/reply.c b/reply.c index 41fcb4a..e7f899b 100644 --- a/reply.c +++ b/reply.c @@ -196,6 +196,12 @@ vreply(const struct Peer *peer, int number, va_list ap) getnick(peer), channel ), channel, _); + REPLY(404, WRITE( + ":%s 404 %s %s :Cannot send to channel", + hostname, + getnick(peer), + channel + ), channel, _); REPLY(405, WRITE( ":%s 405 %s %s :You have joined too many channels", hostname, |