$self->server->command("$command $msg");
}
+sub intel_log {
+ my ($c,$planet, $message) = @_;
+ my $log = $c->model->prepare_cached(q{
+INSERT INTO forum_posts (ftid,uid,message) VALUES(
+ (SELECT ftid FROM planets WHERE id = $3)
+ ,(SELECT uid FROM users WHERE hostmask ILIKE $1)
+ ,$2)
+ });
+ $log->execute($c->host,$message,$planet);
+}
+
sub _build_roles {
my ($self) = @_;