ez fix lol
This commit is contained in:
parent
61451c39a4
commit
baccf7109f
|
@ -1,7 +1,7 @@
|
|||
import { logger } from "../inc/log";
|
||||
import { getLevel } from "../inc/admin";
|
||||
|
||||
import modules from "./irc/main";
|
||||
import modules from "./irc";
|
||||
|
||||
import net from "net";
|
||||
import tls from "tls";
|
||||
|
@ -151,11 +151,12 @@ export class irc extends EventEmitter {
|
|||
cached: ~~(Date.now() / 1000)
|
||||
};
|
||||
this.server.user.set(user, tmpuser);
|
||||
|
||||
this.send(`WHOIS ${user}`);
|
||||
}
|
||||
parsePrefix(prefix) {
|
||||
prefix = /:?(.*)\!(.*)@(.*)/.exec(prefix);
|
||||
if(!prefix[1])
|
||||
return false; //this.parsePrefix(arguments);
|
||||
return {
|
||||
nick: prefix[1],
|
||||
username: prefix[2],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default client => {
|
||||
client._cmd.set("JOIN", function (msg) { // join
|
||||
this.send(`WHO ${msg.params[0]}`);
|
||||
//this.send(`WHO ${msg.params[0]}`);
|
||||
}.bind(client));
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user