diff options
author | shennetsind <ind@henn.et> | 2013-11-06 21:10:52 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-06 21:10:52 -0200 |
commit | aaf34515fa9d32fae10c71b5b3f615857fd7e55e (patch) | |
tree | bec3964580ead4ed1d45f7bf51b418753004f16b /src/common/core.c | |
parent | eaf04b9a2f0b399027df251c5d19d58d74e24e6a (diff) | |
parent | 87d7348396af97428638723ae49ca2ff166e4acd (diff) | |
download | hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.gz hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.bz2 hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.xz hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/common/core.c')
-rw-r--r-- | src/common/core.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/common/core.c b/src/common/core.c index 6a73d2d39..f57cc4c79 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -302,10 +302,20 @@ int main (int argc, char **argv) { arg_v = argv; } core_defaults(); + + { + int i; + for(i = 0; i < argc; i++) { + if( strcmp(argv[i], "--script-check") == 0 ) { + msg_silent = 0x7; // silence information and status messages + } + } + } iMalloc->init();// needed for Show* in display_title() [FlavioJS] - - console->display_title(); + + if (!(msg_silent&0x1)) + console->display_title(); #ifdef MINICORE // minimalist Core usercheck(); |