mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let the past begone in cvs land. welcome to igit igit!
This commit is contained in:
commit
4e601cf1c7
509 changed files with 77963 additions and 0 deletions
22
world/service/cslave.c
Normal file
22
world/service/cslave.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
// vim:syntax=lpc
|
||||
#include <net.h>
|
||||
|
||||
load() {
|
||||
return ME;
|
||||
}
|
||||
|
||||
create() {
|
||||
PT(("]] %O loaded\n", ME))
|
||||
}
|
||||
|
||||
msg(source, mc, data, vars) {
|
||||
string c;
|
||||
|
||||
PT(("]] %O:msg(%O, %O, %O, %O)\n", ME, source, mc, data, vars))
|
||||
|
||||
if (mappingp(vars) && (c = vars["_context"]) && (c = find_context(c)))
|
||||
return c->castmsg(source, mc, data, vars);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue