Skip to content

Commit

Permalink
History command
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Mottram committed May 31, 2021
1 parent 76d130c commit 7441ebc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miniircd
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,9 @@ class Client:
)
self.reply(b"323 %s :End of LIST" % self.nickname)

def history_handler() -> None:
self.server.bouncer_replay(self.nickname)

def filters_handler() -> None:
if not self.oper:
self.reply(b"481 %s :Filters list permission denied" % (self.nickname))
Expand Down Expand Up @@ -1369,6 +1372,7 @@ class Client:
b"DROP": drop_handler,
b"FILTER": filter_handler,
b"FILTERS": filters_handler,
b"HISTORY": history_handler,
b"IDENTIFY": identify_handler,
b"ISON": ison_handler,
b"JOIN": join_handler,
Expand Down

0 comments on commit 7441ebc

Please sign in to comment.