Remove unused functions

This commit is contained in:
Joscha 2022-08-02 21:10:53 +02:00
parent 1ffe42d868
commit a0b89b3990
3 changed files with 0 additions and 50 deletions

View file

@ -73,19 +73,6 @@ macro_rules! packets {
};
}
macro_rules! events {
( $( $name:ident, )* ) => {
impl Data {
pub fn is_event(&self) -> bool {
match self {
$( Self::$name(_) => true, )*
_ => false,
}
}
}
};
}
macro_rules! commands {
( $( $cmd:ident => $rpl:ident, )* ) => {
$(
@ -129,23 +116,6 @@ packets! {
WhoReply,
}
events! {
BounceEvent,
DisconnectEvent,
HelloEvent,
JoinEvent,
LoginEvent,
LogoutEvent,
NetworkEvent,
NickEvent,
EditMessageEvent,
PartEvent,
PingEvent,
PmInitiateEvent,
SendEvent,
SnapshotEvent,
}
commands! {
Auth => AuthReply,
Ping => PingReply,