Remove unused functions
This commit is contained in:
parent
1ffe42d868
commit
a0b89b3990
3 changed files with 0 additions and 50 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue