Remove unnecessary newlines.
Reformat guards.
Consistent name for «MIrc» argument.
Remove unnecessary argument from «callDisconnectFunction».