mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-24 03:04:05 +01:00
ngircd: add a stub for KNOCK
This commit is contained in:
parent
6d3d2b239d
commit
b0eb1656a5
@ -153,6 +153,9 @@ class NgIRCdProtocol(IRCS2SProtocol):
|
|||||||
self.channels[channel].users.add(client)
|
self.channels[channel].users.add(client)
|
||||||
self.users[client].channels.add(channel)
|
self.users[client].channels.add(channel)
|
||||||
|
|
||||||
|
def knock(self, numeric, target, text):
|
||||||
|
raise NotImplementedError('KNOCK is not supported on ngIRCd.')
|
||||||
|
|
||||||
def mode(self, source, target, modes, ts=None):
|
def mode(self, source, target, modes, ts=None):
|
||||||
"""Sends mode changes from a PyLink client/server. The TS option is not used on ngIRCd."""
|
"""Sends mode changes from a PyLink client/server. The TS option is not used on ngIRCd."""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user