Skip to content
Snippets Groups Projects
Commit 843fca24 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

added Person and Channel types to IRC

Rev: lib/modules/Protocols.pmod/IRC.pmod/module.pmod:1.1
parent 2c364e81
No related branches found
No related tags found
No related merge requests found
// base classes
class Person
{
string nick; // Mirar
string user; // mirar
string ip; // mistel.idonex.se
int last_action; // time_t
multiset aka=(<>);
string realname="?";
string server=0;
mapping misc=([]);
multiset channels=(<>);
void say(string message);
void notice(string message);
void me(string what);
}
class Channel
{
string name;
void not_message(Person who,string message);
void not_join(Person who);
void not_part(Person who,string message,Person executor);
void not_mode(Person who,string mode);
void not_failed_to_join();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment