ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_misc.C
(Generate patch)

Comparing deliantra/server/server/c_misc.C (file contents):
Revision 1.9 by root, Sat Sep 16 22:24:13 2006 UTC vs.
Revision 1.10 by root, Wed Sep 20 21:53:50 2006 UTC

930 930
931 931
932int 932int
933command_logs (object *op, char *params) 933command_logs (object *op, char *params)
934{ 934{
935 int i;
936 int first;
937
938 first = 1;
939 for (i = 2; i < socket_info.allocated_sockets; i++)
940 {
941 if (init_sockets[i].old_mode == Old_Listen)
942 {
943 if (first)
944 {
945 new_draw_info (NDI_UNIQUE, 0, op, "Kill-logs are sent to:");
946 first = 0;
947 }
948 new_draw_info_format (NDI_UNIQUE, 0, op, "%s: %s", init_sockets[i].host, init_sockets[i].comment);
949 }
950 }
951 if (first)
952 {
953 new_draw_info (NDI_UNIQUE, 0, op, "Nobody is currently logging kills."); 935 new_draw_info (NDI_UNIQUE, 0, op, "Nobody is currently logging kills.");
954 } 936
955 return 1; 937 return 1;
956} 938}
957 939
958int 940int
959command_applymode (object *op, char *params) 941command_applymode (object *op, char *params)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines