+<%once>
+
+#should probably be a Conf method. what else would need to use it?
+#not even us, apparantly...
+# defined( _config_agentonly($conf, $i->key, $_->agentnum) )
+#sub _config_agentonly {
+# my($self,$name,$agentnum)=@_;
+# my $hashref = { 'name' => $name };
+# $hashref->{agentnum} = $agentnum;
+# local $FS::Record::conf = undef; # XXX evil hack prevents recursion
+# FS::Record::qsearchs('conf', $hashref);
+#}
+
+</%once>